﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto.YS
{
    public class BackOtherOutStockDto
    {
        public long BillId { get; set; }
        public string BillDate { get; set; }//单据日期
        public string SupplierNumber { get; set; }//供应商代码
        /// <summary>
        /// 其他出库类型（基础资料单据类型）
        /// </summary>
        public string BillType { get; set; }
        public List<BackOtherOutStockDetailDto> Entry { get; set; }
    }
    public class BackOtherOutStockDetailDto
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNo { get; set; }
        /// <summary>
        /// 材料规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 材料计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 物料收货数量
        /// </summary>
        public decimal Qty { get; set; }
        /// <summary>
        /// 是否是VMI物料(从VMI仓库发料为Y,否则为N)
        /// </summary>
        public string? IsVMI { get; set; }
        public string StockNumber { get; set; }
        public string StockPlace { get; set; }
        /// <summary>
        /// 供应商代码(从VMI仓库发料必选，否则为空)
        /// </summary>
        public string SupplierNumber { get; set; }
    }
}
